<?php

namespace common\models\picture;

use common\models\BaseModel;

class PictureModel extends BaseModel {

    public $Id;
    public $type;
    public $title;
    public $redirect_url;
    public $is_able;
    public $sort;
    public $picture;
    public $created_by;
    public $created_time;
    public $modified_by;
    public $modified_time;

    public function __construct($config = array()) {
        parent::__construct($config);
    }

    public function attributeLabels()
    {
        return [
            "Id" => 'id',
            "type" => "type",
            "title" => "title",
            "redirect_url" => "跳转地址",
            "is_able" => "是否启用",
            "sort" => "排序",
            "picture" => "图片地址",
            "created_by" => "created_by",
            "created_time" => "created_time",
            "modified_by" => "modified_by",
            "modified_time" => "modified_time",
        ];
    }
}